mod array_vec_str;
mod struct_enum;
mod if_for_while_loop_match;
mod fn_method;
mod macro_;
mod stack;

use array_vec_str::x::array;
use array_vec_str::x::vec;
use array_vec_str::x::fn_str;
use struct_enum::struct_test;
use if_for_while_loop_match::test;
use fn_method::invoke;
use macro_::test_create_function;
use macro_::test_foo1;
use macro_::test_vector;
use macro_::test_find_min;
use stack::test as stack_test;

#[macro_use]
fn main() {
//    array_vec_str_test();
//    struct_enum_test();
//    if_for_while_loop_match_test();
//    fn_method_test();
//    test_macro();
    stack_test();
}

fn array_vec_str_test() {
    array();
    vec();
    fn_str();
}

fn struct_enum_test() {
    struct_test();
}

fn if_for_while_loop_match_test() {
    test();
}
fn fn_method_test() {
    invoke();
}

fn test_macro() {
    test_create_function();
    test_foo1();
    test_vector();
    test_find_min();
}